package test;

import java.util.Calendar;
import java.util.Date;

public class NetworkUtil {

	public static int getNewPort() {

		
		//Generate a unique port with VOODOO
		Calendar calendar = Calendar.getInstance();
		int port = (calendar.get(Calendar.MINUTE) * 100) + calendar.get(Calendar.SECOND) + 1024; 
		
		System.out.println(port);
		
		return port;

	}
	
	public static int getBankPort() {
		return 33348;
	}
	
	public static String getBankIP() {
		return "127.0.0.1";
	}
	
}
